import 'package:easy_read_comic/view/comic/detail_view.dart';
import 'package:easy_read_comic/view/home_view.dart';
import 'package:easy_read_comic/view/me/down_view.dart';
import 'package:get/get_navigation/src/routes/get_route.dart';

import '../../view/comic/comic_look_for_view.dart';
import '../../view/comic/read_view.dart';
import '../../view/comic/search_list_view.dart';
import '../../view/me/login_with_register_view.dart';
import '../../view/me/setting_view.dart';

class Routes {
  static List<GetPage> Pages = [
    GetPage(name: "/", page: () => HomeView()),
    GetPage(name: "/search", page: () => SearchListView()),
    GetPage(name: '/detail/:comic_id', page: () => Detail()),
    GetPage(name: "/read/:comic_id/:chapter_id", page: () => ReadView()),
    GetPage(name: "/setting", page: () => SettingView()),
    GetPage(name: "/login_with_register", page: () => LoginWithRegisterView()),
    GetPage(name: "/download", page: () => DownView()),
    GetPage(name: "/comic_look_for", page: () => ComicLookForView()),
  ];
}
